/* 公共样式css */

@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?tomleg');
    src: url('../fonts/icomoon.eot?tomleg#iefix') format('embedded-opentype'), url('../fonts/icomoon.ttf?tomleg') format('truetype'), url('../fonts/icomoon.woff?tomleg') format('woff'), url('../fonts/icomoon.svg?tomleg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}


/* 版心 */

.w {
    width: 1200px;
    margin: 0 auto;
}


/* 左浮动 */

.fl {
    float: left;
}


/* 右浮动 */

.fr {
    float: right;
}


/* 顶部快捷导航 */

.shortcut {
    height: 31px;
    background: #f1f1f1;
    line-height: 31px;
}

.shortcut ul li {
    float: left;
}

.shortcut .fl ul li .register {
    color: var(--themeColor);
}

.shortcut .fr ul li:nth-child(even) {
    width: 1px;
    height: 12px;
    background: #666;
    margin: 9px 15px;
}

.shortcut .fr ul li .arr-bottom:after {
    font-family: 'icomoon';
    content: '\e91e';
    margin-left: 10px;
}


/* 头部区域 */

.header {
    position: relative;
    height: 105px;
}

.header .logo {
    position: absolute;
    top: 25px;
    left: 0;
    width: 171px;
    height: 61px;
    background: url('../images/logo.png') no-repeat;
    font-size: 0;
}

.header .logo a {
    display: inline-block;
    width: 171px;
    height: 61px;
}


/* 搜索 */

.header .search {
    position: absolute;
    left: 346px;
    top: 25px;
}

.header .search input {
    width: 456px;
    height: 35px;
    background: #fff;
    border: 2px solid var(--themeColor);
    padding: 0 10px;
}

.header .search .btn {
    position: absolute;
    width: 80px;
    height: 35px;
    background: var(--themeColor);
    border: 2px solid var(--themeColor);
    color: #fff;
    font-size: 16px;
}


/* 热词 */

.hotwords {
    position: absolute;
    top: 66px;
    left: 346px;
}

.hotwords a {
    margin: 0 10px;
}

.hotwords a:first-child {
    color: var(--themeColor);
}


/* 购物车 */

.shopcar {
    position: absolute;
    right: 60px;
    top: 25px;
    width: 140px;
    height: 35px;
    border: 1px solid #dfdfdf;
    background-color: #f7f7f7;
    text-align: center;
    line-height: 35px;
}

.shopcar .car a {
    display: inline-block;
}

.shopcar .car::before {
    content: '\e93a';
    font-family: 'icomoon';
    margin-right: 5px;
    color: var(--themeColor);
}

.shopcar .car::after {
    content: '\e920';
    font-family: 'icomoon';
    margin-left: 10px;
    color: var(--themeColor);
}


/* 不能给宽度，因为购买数量不确定 */

.shopcar .count {
    position: absolute;
    top: -5px;
    left: 95px;
    height: 14px;
    padding: 0 5px;
    border-radius: 7px 7px 7px 0;
    background-color: var(--themeColor);
    line-height: 14px;
    text-align: center;
    color: #fff;
    max-width: 100px;
}


/* 导航区域 */

.nav {
    width: 100%;
    height: 45px;
    border-bottom: 2px solid #b1191a;
}

.nav .dropdown {
    width: 210px;
    height: 45px;
    background-color: #b1191a;
}

.nav .dropdown .dt {
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 45px;
    color: #fff;
    font-size: 16px;
}

.nav .dropdown .dd {
    padding-left: 2px;
    width: 210px;
    height: 465px;
    background-color: var(--themeColor);
}

.nav .dropdown .dd ul li {
    padding: 0 8px;
    height: 31px;
    line-height: 31px;
    color: #fff;
}

.nav .dropdown .dd ul li a {
    color: #fff;
    font-size: 14px;
}

.nav .dropdown .dd ul li:hover {
    background-color: #fff;
}

.nav .dropdown ul li:hover a {
    color: var(--themeColor);
}

.nav .dropdown .dd ul li::after {
    float: right;
    content: '\e920';
    font-family: 'icomoon';
    font-size: 16px;
}

.nav-item {
    margin-left: 15px;
}

.nav-item ul li {
    float: left;
    height: 45px;
}

.nav-item ul li a {
    display: block;
    padding: 0 25px;
    line-height: 45px;
    height: 45px;
    font-size: 16px;
    color: #333;
}

.nav-item ul li a:hover {
    color: #e33333;
}


/* 底部区域 */

.footer {
    padding-top: 30px;
    height: 415px;
    background-color: #f5f5f5;
}

.footer .mod-service {
    height: 80px;
    border-bottom: 1px solid #ccc;
}

.footer .mod-service ul li {
    float: left;
    padding-left: 35px;
    width: 240px;
}

.footer .mod-service ul li .service_txt h4 {
    color: #333;
    font-size: 14px;
}

.footer .mod-service ul li .service_txt h4,
.service_txt p {
    height: 25px;
    line-height: 25px;
}

.footer .mod-service ul li h5 {
    margin-right: 8px;
    width: 50px;
    height: 50px;
    background: url('../images/icons.png') no-repeat;
}

.footer .mod-service ul li:nth-child(1) h5 {
    background-position: -252px -3px;
}

.footer .mod-service ul li:nth-child(2) h5 {
    background-position: -254px -53px;
}

.footer .mod-service ul li:nth-child(3) h5 {
    background-position: -257px -105px;
}

.footer .mod-service ul li:nth-child(4) h5 {
    background-position: -258px -156px;
}

.footer .mod-service ul li:nth-child(5) h5 {
    background-position: -256px -208px;
}


/* 底部帮助指南 */

.footer .mod-help {
    padding-left: 50px;
    padding-top: 20px;
    height: 185px;
    border-bottom: 1px solid #ccc;
}

.footer .mod-help dl {
    float: left;
    width: 198px;
}

.footer .mod-help dl dt {
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
}

.footer .mod-help dl:last-child {
    width: 90px;
    text-align: center;
}


/* 底部导航、注册信息 */

.footer .mod_copyright {
    margin-top: 20px;
    text-align: center;
}

.footer .mod_copyright ul li {
    float: left;
}

.footer .mod_copyright span {
    padding: 0 15px;
}

.footer .copyright {
    margin-top: 15px;
    text-align: center;
    line-height: 20px;
}